package com.amado.easyui2.dao;

import java.util.List;

import com.amado.easyui2.domain.User;
import com.amado.easyui2.vo.Page;

public interface UserDao {
	public int add(User user);

	public int delete(Long id);

	public int update(User user);

	List<User> listAll(String departNum, String userName);

	public int listAllCount(String departNum, String userName);

	List<User> listAll(String departNum, String userName, Page page);

	public List<User> list();

	public List<User> login(User user);

}
